package cn.outsourcing.supermarket.common.constants;

/**
 * @author gzkemays
 * @since 2021/10/13 11:51
 */
public interface CommonConstants {
  String HTTPS_HEADER = "https://";
  String COMMA_SEPARATOR = ",";
  Integer REQUEST_SUCCESS_CODE = 200;
  Integer RESPONSE_FAIL_CODE = 300;
  Integer REQUEST_FAIL_CODE = 400;
  Integer SQL_FAIL_CODE = 500;
  Integer UNKNOWN_ERROR_CODE = 600;
  Integer SECURITY_ERROR_CODE = 700;
  Integer INTERNAL_SERVER_ERROR_CODE = 800;
  String PROVIDER_COUNT_SQL = "count(1)";
  String TOKEN_HEADER_KEY = "X-Hioshop-Token";
  String TOKEN_USER_ID_KEY = "user_id";
  String BACKSTAGE_TOKEN_USER_ID_KEY = "id";
  String QI_NIU_BUCKET = "miniprogram-supermarket";
}
